import React from "react";
import { RouteComponentProps } from "react-router-dom";

interface MatchParams {
    touristRouteId: string;
}

export const DetailPage: React.FC<RouteComponentProps<MatchParams>> = props => {
    //   console.log(props.history);
    //   console.log(props.location);
    //   console.log(props.match);
    return (
        <h1>路游路线详情页面, 路线ID: {props.match.params.touristRouteId}</h1>
    );
};
